package com.daka.dao;

import com.daka.entity.Group;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "groupDao")
@SQLMapper
public interface GroupDao {

    int deleteByPrimaryKey(Long id);

    int insert(Group record);

    Group selectByPrimaryKey(Long id);

    Group selectByOldId(Long id);

    int updateByPrimaryKeySelective(Group record);

    int insertList(List<Group> list);
}